﻿
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Unity;
using Product_1.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Product_1
{
    public class Product_1_Module : IModule
    {

        private readonly IUnityContainer container;
        private readonly IRegionManager rManager;

        public Product_1_Module(IUnityContainer c, IRegionManager r)
        {
            container = c;
            rManager = r;
        }

        public void Initialize()
        {

            container.RegisterType<object, Product_1_View>("Product_1_View");
        }
    }
}
